package com.ztc.ZtcCapitalIncome.bean;


import com.aqgj.util.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

@Entity
@Table(name = "ztc_capital_income")
public class ZtcCapitalIncome implements BaseEntity {

    private String id;//

    private java.math.BigDecimal money;//业务金额

    private java.math.BigDecimal incomeMoney;//收益金额

    private Integer type;//类型（1购票收入，2退票支出，3违约金收益, 4违约金出账，5快递费收益，6快递费出账）

    private String orderId;//订单编号

    private String remark;//备注

    private java.util.Date createTime;//记录时间

    public void setId(String value){
        this.id = value;
    }
    public void setMoney(java.math.BigDecimal value){
        this.money = value;
    }
    public void setIncomeMoney(java.math.BigDecimal value){
        this.incomeMoney = value;
    }
    public void setType(Integer value){
        this.type = value;
    }
    public void setOrderId(String value){
        this.orderId = value;
    }
    public void setRemark(String value){
        this.remark = value;
    }
    public void setCreateTime(java.util.Date value){
        this.createTime = value;
    }

    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="money",unique=false,nullable=true,insertable=true,updatable=true,length=20)
    public java.math.BigDecimal getMoney(){
        return this.money;
    }
    @Column(name ="income_money",unique=false,nullable=true,insertable=true,updatable=true,length=20)
    public java.math.BigDecimal getIncomeMoney(){
        return this.incomeMoney;
    }
    @Column(name ="type",unique=false,nullable=true,insertable=true,updatable=true,length=3)
    public Integer getType(){
        return this.type;
    }
    @Column(name ="order_id",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getOrderId(){
        return this.orderId;
    }
    @Column(name ="remark",unique=false,nullable=true,insertable=true,updatable=true,length=255)
    public String getRemark(){
        return this.remark;
    }
    @Column(name ="create_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getCreateTime(){
        return this.createTime;
    }


} 
